package com.github.ginirohikocha.dbm;

public abstract class Address {

    private static final String SERVER_ADDRESS =
//            "192.168.3.187";
//            "47.106.148.82";
                "129.28.130.23";
    private static  final String ROOT = "http://"+ SERVER_ADDRESS +":8888/api/v1/";

    private static final String WORKER_ROOT = ROOT + "worker/";
    private static final String ORDER_ROOT = ROOT + "order/";
    private static final String OFFER_ROOT = ROOT + "offer/";
    private static final String PRODUCTS_PRICE_ROOT = ROOT + "productsPrice/";

    public static final String WORKER_LOGIN = WORKER_ROOT +"login";
    public static final String WORKER_UPDATE_LOCATION = WORKER_ROOT +"updateLocation";

    public static final String ORDER_QUERY = ORDER_ROOT + "query";
    public static final String ORDER_QUERY_BRIEF = ORDER_ROOT + "querybrief";
    public static final String ORDER_UPDATE = ORDER_ROOT +"update";
    public static final String ORDER_UPDATE_CUSTOMER = ORDER_UPDATE + "Customer";

    public static final String OFFER_QUERY = OFFER_ROOT + "query";
    public static final String OFFER_UPDATE = OFFER_ROOT + "update";
    public static final String OFFER_UPLOAD_PHOTO = OFFER_ROOT + "uploadPhoto";
    public static final String OFFER_FETCH_PHOTO = OFFER_ROOT + "fetchPhoto";

    public static final String PRODUCTS_PRICE_QUERY = PRODUCTS_PRICE_ROOT + "query";

}
